Methods and systems for operating a logical sensor network

ABSTRACT

Methods and systems for operating a sensor network comprising a plurality of nodes and at least one resource, where a resource can be a sensing device (e.g., a camera or microphone) or other peripheral devices (e.g., a storage or recording system). In at least one embodiment of the present invention, at least one node in a network determines at least one resource available to it and the type of the resource or its capabilities. Based on the type or capabilities of the resource, the node associates with one or more logical node names and acquires instructions for performing at least one function.

RELATED APPLICATIONS

This application claims the benefit of provisional patent application No. 60/485,544, filed Jul. 7, 2003, entitled “Methods and Systems for Logical Sensor Network,” which is expressly incorporated herein by reference.

FIELD OF THE INVENTION

The present invention generally relates to sensor networks and, more particularly, to automatic programming of a network of devices with sensing, computing, and networking ability.

BACKGROUND OF THE INVENTION

The availability of intelligent sensors and micro-sensors has furthered the development of wireless sensor networks. Wireless sensor networks have virtually limitless application particularly in situations where environmental monitoring is likely to provide useful information. Some examples of applications of sensor networks include remote healthcare, farming, environmental compliance, construction, condition-based maintenance, military surveillance, and medical disasters.

Conventional sensor networks struggle with a variety of issues. To be reliable, conventional sensor networks often must be highly redundant, that is, deploy sensors in large numbers so that if one or more sensors are rendered inoperable, necessary information may still be reliably collected and reported. With the advances in wireless networking, highly redundant systems have become more feasible, but may become costly to deploy or operate.

In addition, network routing of collected information remains a serious concern in most network architectures. In any network where all nodes cannot reach all other nodes in a single hop, a repeating mechanism is required. Furthermore, in sensor networks where nodes can come and go frequently, how a network responds to a failure impacts performance and reliability of the network. In general, networks that are able to dynamically reconfigure in the event of a node failure are desired particularly, in a sensor network, where connections can change quickly as the radio frequency (RF) environment changes, and battery power of nodes may be depleted in a unpredictable manner.

In conventional sensor networks, such as a camera surveillance system using multiple cameras as sensors, the cameras may be fixed and, once the location of the cameras were known to an intruder, the effectiveness of the surveillance system can be compromised. Furthermore, moving the cameras often requires costly system reconfiguration.

Wireless technologies allow for the deployment of sensor systems where some or all of the sensors may be untethered and/or mobile. Furthermore, in many applications, many or all of the sensors may need to operate largely unattended, as the sensors may be deployed in physically inaccessible or hazardous locations. For example, the sensors in a sensor network used to monitor military situations may be deployed in hostile enemy territory or sensors used to measure the levels of toxic chemicals may be deployed in areas with harmful levels of toxic chemicals. For at least these reasons, much research has been dedicated to developing wireless sensor networks that are pervasive, self-configuring, flexible, and programmable.

Since sensor data is associated with the physical location of the sensor, determining the spatial coordinates of a sensor is important. Indeed, many efforts to date have focused on perfecting localization techniques. Constraints on cost, size, or power as well as the line-of-sight constraint may preclude the use of global positioning techniques, such as GPS. In this case, self-configuring sensor networks would require to use other localization methods, which could, for example, involve the use of sensors in the network itself.

Traditional sensor networks suffer from a limitation that they are generally deployed with one application in mind and therefore with highly specialized software and/or configuration expectations. For example, separate sensor networks are deployed for home safety, home security surveillance, monitoring of infants, and home care of the elderly, in spite of the fact that these systems share, to a large extent, the same hardware and software. Even for the same application, upgrades of sensor nodes and their functionalities often incur costly system reconfiguration and software changes.

What is needed is methods and systems that allow the same sensor networks to support a variety of applications when this is feasible and to accommodate changes and upgrades of the system in a simple and low-cost manner. For example, the network should support automatic configuration and incorporation of new sensors and devices. What is further needed is a new sensor network programming environment that enables a sensor application programmer to program a sensor network in a network topology and resource independent manner.

SUMMARY OF THE INVENTION

Accordingly, one embodiment of the present invention is directed to a method and system for operating a sensor network comprising a plurality of nodes and at least one resource, where a resource can be a sensing device (e.g., a camera or microphone) or other peripheral devices (e.g., a storage or recording system). In accordance with one embodiment of the present invention, at least one node in a network determines at least one resource available to it and the type of the resource. Based on the type of the resource, the node associates with one or more logical node names. Based on the logical node name, the node acquires instructions for performing at least one function.

Another embodiment of the present invention is a processor comprising a memory storing instructions for enabling the processor to determine that at least one resource is available to it; determine a type of the at least one available resource; associate the processor with one or more logical node names based on the determined type, each logical node name associated with a type of resource; and acquire instructions for performing at least one function, the instructions provided determined based on the one or more logical node names.

BRIEF DESCRIPTION OF THE DRAWINGS

The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate several embodiments of the invention and together with the description, serve to explain the principles of the invention. In the drawings:

FIG. 1 shows one exemplary configuration of a node 100 consistent with the present invention;

FIG. 2 shows a network of nodes and resources consistent with the present invention;

FIG. 3 illustrates the steps of an exemplary method for operating the network shown in FIG. 2;

FIG. 4 shows the path of communication of information from nodes 20 and 22 to a node 21 associated with a user;

FIG. 5 shows the path of communication of information from nodes 20 and 22 to a node 40, a storage node; and

FIG. 6 shows the path of communication of information from storage node 40 to node 21, which in this example is associated with a user.

DETAILED DESCRIPTION OF THE INVENTION

Reference will now be made in detail to the present embodiments of the invention, examples of which are illustrated with reference to the accompanying drawings. Wherever possible, the same reference numbers will be used throughout the drawings to refer to the same or like parts.

Exemplary Network

A sensor network consistent with the present invention comprises a plurality of nodes and at least one resource. A resource may be a sensor, such as a microphone, gas detector, light detector, motion detector, listening device, ultrasound device, or thermometer, or a peripheral device, such as a device used for storage, display, playing or recording of audio, video, or images. A resource may be embedded within a node or associated with the node. A resource embedded within a node may be physically situated within the physical confines of the node or physically attached to the node. A resource associated with the node may be physically remote from the node, but may be operationally connected or capable of communicating with the node, such as by wireless radio communications.

FIG. 1 shows one exemplary configuration of a node 100 consistent with the present invention. An exemplary node 100 may comprise, for example, a processor 110, memory 120, a network interface 130, and a sensor interface 140. Node 100 will likely also include a power source (not shown), which may be, for example, standard electrical power, solar power, or battery. As mentioned above, node 100 may optionally comprise a sensor 150 embedded within node 100 or connected via communications link 160, where communications link 160 may be, for example, a bus. Alternatively, node 100 may optionally comprise a sensor 150 physically remote from node 100 but connected via communications link 160, where communications link 160 may be, for example, wireless communications.

In exemplary embodiments consistent with the present invention, one or more of the nodes may be a micro-controller-class node. For example, processor 110 in a micro-controller-class node may comprise, for example, a 64 MHz, 32-bit processor such as the ARM7 processor sold by ARM Ltd. or other similar class processors. Memory 120 may be RAM, flash memory, or a combination of RAM and flash. Memory 120 may store system software for operating node 100, network protocol stacks, network routing protocols, and other software or drivers for operating resources. Memory 120 may optionally store other software for use by the network, such as application code or software for discovering the resources in the network.

Other nodes may be smaller, low-power nodes such as the “mote” developed by the University of California at Berkeley (UCB). The UCB motes are very tiny computers, ranging in size from mere millimeters to a few centimeters, equipped with sensors to collect information about their environment. Current motes, for example, measure approximately 2 millimeters by 2.5 millimeters and comprise an 8-bit processor with 128 Kb of flash memory, 4 Kb system RAM, communications devices, such as an FSK radio transmitter with an RF range of tens of meters, a low-power source, and sensors, among other things. Motes are capable of running TinyOS, an event-driven multithreading operating system, and applications written in NesC, a C-like language also developed by the developers at UCB. In certain embodiments, one or more of the nodes may be Smart Dust, another smart node developed at UCB that is even smaller than a mote.

Another suitable example of a node 100 may be a JStamp, offered by Systronics. A JStamp is a physically small device measuring only 1 by 2 inches that comprises a 32-bit controller, 2 Mb of memory, and native execution Java® hardware that is power efficient but computationally powerful. Software may be developed in Java and loaded onto the nodes.

Network interface 130 in node 100 includes any available means for communicating with other nodes and resources in the network. In certain embodiments of the present invention, some or all of the nodes may communicate using wireless technology based on physical-layer standards. For example, devices capable of communicating using the Bluetooth RF standard may have a radio frequency chip compatible with the Bluetooth technology.

Nodes in a wireless sensor network consistent with the present invention may communicate with one another at layers above the physical layer, using a medium-access control (MAC) protocol such as, for example, Carrier Sense Multiple Access (CSMA), IEEE 802.11, or their equivalents.

Sensor interface 140 may be any standard interface allowing sensor 150 to communicate information to or receive information from processor 110 and/or memory 120. For example, if sensor 150 is physically embedded or otherwise connected to node 100, sensor interface 140 may be a standard bus and accompanying protocols. If, however, sensor 150 remotely located from node 100, sensor interface 140 may a wireless interface and accompanying protocols. In some embodiments, sensor interface 140 may include an analog to digital (A/D) converter and/or a multiplexer.

One skilled in the computer arts will appreciate that other suitable, even smaller, computing devices may also be appropriate in some embodiments. Further, node 100 may be a device such as a telephone, personal digital assistant (PDA), RFID reader, or other handheld computing devices.

As mentioned above, a sensor network consistent with the present invention comprises one or more nodes with one or more resources. Some or all of the nodes 100 in the network may also comprise software, such as drivers, for interfacing with one or more resources. Alternatively, some or all of nodes 100 may obtain software for interfacing with individual resources dynamically over the network. Such software may be downloaded to node 100, for example, when a node 100 detects that it has the opportunity to associate with a particular resource in its vicinity.

Logical Network Operation

As mentioned above, a sensor network consistent with the present invention comprises one or more nodes with one or more resources. In at least one embodiment, all of the nodes are geographically dispersed throughout a monitored area, such as a home, warehouse, or a hospital. Users of the network may be mobile, that is, a user may be moving around the area. Each node in the network need not know the environment in advance, but may determine the network environment upon activation or in the course of operation. In certain embodiments of the present invention, some or all of the nodes in the network associates with a logical node name. In addition, some or all of the nodes may be capable of configuring dynamically their functionalities based on their associated logical node names. The use of logical-level programming allows programs to be written using logical node names, such as “camera,” “microphone,” or “user,” without needing to know the exact physical location of any particular device.

The Internet and most data networks use network addresses, such as IP Address 208.154.23.54. These addresses, however, have no correlation to the node's spatial address, that is, the latitude, longitude, altitude or x,y,z coordinates. For certain embodiments, one may not need to know the spatial address of the responding node. However, if spatial information is needed, the spatial address of any node may be determined by any one of a number of known methods. For example, in some embodiments, one or more of the nodes may have a means for determining the node's spatial address, such as, for example, a Global Positioning System (GPS) device. If any particular node does not have a GPS device, it may be able to determine its own position by communicating with other nodes that do.

One exemplary embodiment of the present invention will now be described with reference to FIG. 2, which shows a network of nodes and resources consistent with the present invention. FIG. 2 may represent, for example, an electronically-monitored home, warehouse, or hospital.

In the example shown in FIG. 2, nodes 20, 21, 22, 23, and 24 may be micro-controller-class nodes. Nodes 26 and 27 may be motes with embedded resources. Node 26, for example, may be a mote with an embedded microphone and node 27 may be a mote with an embedded temperature sensor. Node 40 may be, for example, a micro-controller-class node that will act in the example as a storage node. In FIG. 2, a “user” shown in the vicinity of node 21.

FIG. 3 illustrates the steps of an exemplary method for operating the network shown in FIG. 2. One or more of the nodes in FIG. 2 are activated (step 310). Activation of one or more nodes may occur, for example, upon initial activation of the network as a whole or when an event occurs. For example, one or more of the individual nodes may remain inactive, even “sleep”, for long periods of time to conserve energy. Such nodes may be awakened, or activated, when an event is detected. In some embodiments, one or more of the nodes may be set a timer and activate itself and/or other nodes at a certain time. In addition, some number of nodes in the network may be organized as a “piconet” that may put a group of neighboring nodes into a synchronized sleep.

Upon activation, a node determines the resources, or resources, available to it. For example, node 20 may sense that microphone 50 is in close proximity, and node 22 may sense that camera 51 is in its vicinity. Node 21 may sense that a user wearing or carrying a sensor is in its vicinity or the user may register with node 21 by interacting with a node, such as, for example, by the user pushing a button, the user speaking to the node, or the node detecting the user by image recognition techniques.

A node may determine the resources available to it by, for example, broadcasting a notice that it is available to communicate and waiting to see who answers. In other embodiments, a node may determine the resources available to it by just listening to broadcasts sent by resources.

In any event, when a node detects a resource, it determines if it has the necessary software to communicate with the particular resource (step 330). For example, node 20 determines that microphone 50 is in close proximity and wishes to communicate with it. Node 20 then determines if it has the necessary software to communicate with microphone 50. If it does not, node 20 may obtain such software over the network (step 335). Node 20 may, for example, broadcast a request for a driver for microphone 50 over the network. Node 20 may then get a response to the request which contains an address or information that would allow node 20 to obtain the appropriate driver. In certain embodiments, node 20 may be controlled remotely, that is, instructions or software for operating node 20 may be resident somewhere on the network other than on node 20 but may be used to operate node 20.

After a node has activated and determined one or more resources available to it, it may broadcast to one or more other nodes or the entire network announcing its role or capabilities (step 340). For example, node 21 may associate with the logical node name “user,” and announce itself to the network as “user,” indicating that the user has registered with node 21 or that node 21 is otherwise capable of communicating with the user. Likewise, node 20 may associate with the logical node name “microphone” and broadcast to the network a message indicating that it has associated with a microphone.

Nodes may also associate with logical node names for the purpose of indicating a role a node would like to assume or a type of information a node would like to receive, if or when such role or information becomes available. For example, node 21 may also associate itself with the logical node name “display,” indicating not only that it has a display but also that it would like to receive image data from a camera or video camera when or if it becomes available.

If a node associates with a logical node name, data is available from the resource (step 345), and a request for the type of information is outstanding (step 350), the node may forward the received information immediately to the requesting node (step 355).

For example, with reference to FIG. 2, node 20 may determine that microphone 50 is available to it and associate with the logical node name “microphone.” If microphone 50 has detected sound such as, for example, a knock at the door, this data is available for distribution to other nodes who request such information. If other nodes have requested with the logical node name “speaker,” for example, thereby indicating a desire and/or capability to use audible data, node 20 may send such information to the nodes associated with logical node name “speaker.” Node 20 may also broadcast to the network that it has sound that it wishes to convey to nodes requesting sound.

In certain embodiments, node 20 may also, for example, check to see if a user has registered with the network. A “user” of a network in a home monitoring example may be, for example, a home owner who may wish to be notified of any sounds detected by microphones in the home monitoring system.

If, however, no data is yet available from the resource, the node may simply wait (step 347). If data is available from the resource, but there is no outstanding request for that type of data, the data may be stored (step 360). For example, microphone 50 may detect a knock at the door, and node 20 may be associated with the logical node name “microphone,” but there may be no nodes associated with the logical node name “speaker” and no nodes associated with the logical node name “user.” In this case, the data may be stored in node 40 until such time as this type of data is requested. When a user returns home, for example, and is again associated with the network as a “user,” the user may then be able to recall the data from storage.

In certain embodiments, the nodes in the network may also be dynamically programmed to collaborate in providing information. For example, when the network detected that node 20 assumed the role of a microphone, node 20 could be dynamically programmed to carry out the action that, if a sound is detected, one or more of the cameras nearby should be activated to collect corresponding video or still pictures. For example, if the microphone detects a sound, node 20 may ask any node registered with logical node name “camera” to send video or still images to a node with logical node name “user.” If, as in this example, node 22 has registered with the logical node name “camera,” node 22 may send video to node 21.

FIG. 4 shows the path of communication of information from nodes 20 and 22 to a node 21 associated with a user which may occur in the type of exemplary embodiment described above. If a user is associated with node 21, node 20 transmits the sound to node 29, which in turn transmits it to node 25, which transmits it to node 27 and ultimately to node 21, where it was delivered to the user. Similarly, video data collected from camera 51 may be transmitted to node 22, which may transmitted to node 21, via nodes 28, 40, and 26. In this example, if any of the nodes in either of those paths fails or is otherwise not available, the information may be routed to node 21 through alternate paths. Conventional routing protocols for ad-hoc networks can be used in computing these paths.

If, in the example shown in FIG. 2 and described above, more than one resource is associated with a particular logical node name, the network may use a process to determine which of the resources is best suited to respond. For example, if camera 52 activates and also associates with the logical node name “camera,” two resources have registered as cameras, camera 51 associated with node 22 and camera 52 associated with node 24. In this case, node 20 may be programmed to determine, for example, which of the cameras best suits its needs. If it is determined that camera 51 better suits its needs, for example, if it is closer, has better resolution, is at a better angle, or in any other way improves upon the quality of information available regarding the event, node 20 may notify the network that the video sent to the user should come from camera 51.

In many applications, any of the nodes, including the “user,” may be mobile. A mobile user may, for example, move out of range of node 21 and into the range of node 26. If node 21 senses that the user is no longer in its range (by, for example, detecting that it can no longer communicate with a sensor attached to or carried by the user), node 21 may broadcast to the network that the user is unavailable. In this case, there may be no registered user until the user moves into the range of another node or registers at another node. Alternatively, node 26 may automatically detect that the user has moved into its range and it may broadcast that the user is associated with node 26. If node 21 has not yet published that the user is unavailable, the broadcasting by node 26 that it has contact with the user may trigger the network to delete the association of the user with node 21.

During the period that the user, or any node, is unavailable, data collected by a resource when no request for such data is pending may be stored. For example, if nodes 20 or 22 have data and determine that no user is associated with a node in the network, nodes 20 or 22 may store the data. In a network consistent with the present invention, one or more of the nodes in the network may have already associated with a logical node name like “storage.” indicating the node's capability to assume the role of storing data. If so, nodes 20 or 22 may store the data at one or more nodes associated with the logical node name “storage.” In certain embodiments, and depending on the network protocol, nodes 20 or 22 may broadcast a request for storage, wait for an acknowledgment, and may transmit the data to the storage location.

In FIG. 5, for example, node 40 may have associated with the logical node name “storage” and/or responded to nodes 20 and/or 22 that it is capable of storing. FIG. 5 shows one exemplary path of communication of information from nodes 20 and 22 to storage node 40.

If data is stored at node 40 and a request for the data is later received or published, the data may be forwarded to the requester from storage node 40. For example, as shown in FIG. 6, a user may move back into the range of node 21. Node 21 may sense that the user is back in its range (by, for example, detecting that it can communicate with a sensor attached to or carried by the user) and may rebroadcast to the network that the user is available. Storage node 40 may then transmit information, via node 26, to node 21, as shown in FIG. 6.

Above it was discussed that each of the nodes in the network may establish its associations upon activation, which may happen upon initial activation of the network. Each of the nodes in the network may re-establish or establish its associations at other times as well. For example, one or more of the nodes may periodically reevaluate and rebroadcast its associations. In at least one embodiment, one or more nodes may be triggered to reevaluate and rebroadcast its associations upon a change in status or configuration of the network. Rebroadcasting allows nodes in the network to update the paths available to reach it.

Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims. 

1.-25. (canceled)
 26. A method of operating a network comprising a plurality of programmable network nodes and resources, the method comprising: activating a first programmable network node; broadcasting by a first programmable network node to the network that it is associated with a user; associating a second programmable network node with a first resource; making available to the second programmable network node a first set of instructions for allowing the second programmable network node to control the first resource; receiving sensory input via the first resource; and transmitting the sensory input to the user at the first programmable network node via the network.
 27. A method of operating a network comprising a plurality of programmable network nodes and resources, the method comprising: registering one or more programmable network nodes with at least one logical node name, each of the at least one logical node names associated with a type of resource; requesting by a first programmable network node input from any programmable network node associated with a first logical node name; receiving by a second programmable network node associated with the first logical node name sensory input from the resource associated with the second programmable network node; and transmitting the sensory input to the first programmable network node. 28.-43. (canceled) 